import { IsNotEmpty } from 'class-validator';
export class UpdateChannelLockDto {
  @IsNotEmpty({message: '是否锁定不能为空'})
  isLock: boolean

  @IsNotEmpty({message: '锁定天数不能为空'})
  lockDay: number

  @IsNotEmpty({message: '开始日期不能为空'})
  startLockDate: Date

  @IsNotEmpty({message: '结束日期不能为空'})
  endLockDate: Date
}